package com.yonyou.cyxdms.sysAuth.service.mapper;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgTemplateDTO;
import com.yonyou.cyxdms.sysAuth.service.dto.dealer.MsgTemplatePO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author duxiaoguang
 * @since 2019-09-04
 */
public interface MsgTemplateMapper extends SuperMapper<MsgTemplatePO> {

    //public List<MsgTemplateDTO> selectPageBysql(Page<MsgTemplateDTO> page, @Param("params") Map<String, Object> queryCondition);
    public MsgTemplateDTO selectTempInfo(@Param("templateCode") Integer templateCode,
                                         @Param("appId") String appId);

    public Integer deleteAll();
}
